home *** CD-ROM | disk | FTP | other *** search
- Path: news.wyoming.com!usenet
- From: Jon Wynett <jwynett@eagle.unilink-inc.com>
- Newsgroups: comp.lang.c
- Subject: checking for 32-bit vs. 16-bit OS
- Date: Mon, 04 Mar 1996 12:44:02 -0800
- Organization: UniLink
- Message-ID: <313B5612.1B9@eagle.unilink-inc.com>
- NNTP-Posting-Host: wolf.unilink-inc.com
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0GoldB1 (Win95; I)
-
- Hi:
-
- I need a bit of help. I'm writing an application compiled for 16-bit
- Windows. What I need is a way for this program, at run-time, to
- determine whether it is running on 32-bit Windows 95 or NT, or on 16-bit
- Windows 3.1.
-
- I've tried the Win16 API GetVersion() but that doesn't seem to read the
- version information from '95 and NT correctly. Any ideas?
-
- jon wynett
- jwynett@eagle.unilink-inc.com
-